/*
 * @FileName: [Log.java] 
 * @Package com.bcinfo.upp.log 
 * 
 * 
 * Copyright (c) 2011-2015 BCINFO Technology Limited Com.
 * All rights reserved.
 * 
 * This software is the confidential and proprietary 
 * information of BCINFO Technology Limited Company
 * ("Confidential Information"). You shall not disclose 
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement 
 * you entered into with RKY.
 * 
 * $Rev: 52 $
 * $LastChangedDate: 2013-11-25 11:41:03 +0800 (Mon, 25 Nov 2013) $
 * $LastChangedBy: wanggc $
 * 
 * @category bcinfo-
 * @version 1.1
 * @author $Author: wanggc $
 *
 * Change History:[Formatter: author date description] <br/>
 * 1
 * 2
 * 3
*/
package com.bcinfo.iccard.log;

/**
 * 日志服务接口 <br/>
 * <p>Description:<br/>
 *    <p>定义LOG服务接口
 *
 * <p>For Examples <br/>
 * <PRE>
 *      不能直接使用。
 *      通过LogFactoryUtil来创建Log
 *      @see com.bcinfo.alumni.common.log.LogFactoryUtil
 * </PRE>
 * <p>
 */
public interface Log
{
    public void debug(Object msg);

    public void debug(Throwable t);

    public void debug(Object msg, Throwable t);

    public void error(Object msg);

    public void error(Throwable t);

    public void error(Object msg, Throwable t);

    public void fatal(Object msg);

    public void fatal(Throwable t);

    public void fatal(Object msg, Throwable t);

    public void info(Object msg);

    public void info(Throwable t);

    public void info(Object msg, Throwable t);

    public boolean isDebugEnabled();

    public boolean isErrorEnabled();

    public boolean isFatalEnabled();

    public boolean isInfoEnabled();

    public boolean isTraceEnabled();

    public boolean isWarnEnabled();

    public void trace(Object msg);

    public void trace(Throwable t);

    public void trace(Object msg, Throwable t);

    public void warn(Object msg);

    public void warn(Throwable t);

    public void warn(Object msg, Throwable t);
}
